import Vue from 'vue'
import App from './App.vue'
import router from './router'

import store from './store/index'

import axios from 'axios'
Vue.prototype.$axios = axios
// 使用 组件库
import ElementUI from 'element-ui';
Vue.use(ElementUI);

// axios.defaults.baseURL='/api'
// JsonP
// import vueJsonp from 'vue-jsonp'
// Vue.use(vueJsonp)

Vue.use(require('vue-cookies'))

Vue.prototype.MYURL= "http://47.107.93.49:8001"
// Vue.prototype.MYURL= "http://localhost:8080/api"
Vue.config.productionTip = false
new Vue({
  render: h => h(App),
  store,
  router,
}).$mount('#app')
